package com.zjj.day2.test2;
/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/18
 */
public class ClassMain {
    public static void main(String[] args) {
        GrandFather grandFather = new GrandFather("爷爷", 60);
        grandFather.getGrandFather();

        Father father = new Father("爸爸", 35, "码农");
        father.getFather();
    }
}